package com.aop2.CGLIBProxy;

public class CglibMain {
    public static void main(String[] args) {
        UserDao uDao = new UserDao();
        CglibProxy proxy = new CglibProxy();

        UserDao userDaoProxy = (UserDao) proxy.createProxy(uDao);
        userDaoProxy.addUser();
        userDaoProxy.delUser();
    }
}
